package com.zhxy.gps.publish;

import java.io.Serializable;

import com.zhxy.gps.terminal.Terminal;
import com.zhxy.gps.terminal.message.AbstractMessage;

public class GpsPublish implements Serializable {
	
	private static final long serialVersionUID = -7816823551755454120L;

	private Terminal terminal;
	
	private AbstractMessage message;
	
	public GpsPublish() {
	}

	public GpsPublish(Terminal terminal, AbstractMessage message) {
		super();
		this.terminal = terminal;
		this.message = message;
	}

	public Terminal getTerminal() {
		return terminal;
	}

	public void setTerminal(Terminal terminal) {
		this.terminal = terminal;
	}

	public AbstractMessage getMessage() {
		return message;
	}

	public void setMessage(AbstractMessage message) {
		this.message = message;
	}
}
